<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    const dinner = {
        meal:'tacos'
    }
    const handler = {
        get(targer,prop) {
            return targer[prop]
        }
    }
    const proxy = new Proxy(dinner,handler)
    console.log(proxy.meal)
    console.log(proxy)
</script>
</html>